package com.onest;

import java.util.List;

public class User {
    private String name;
    private Integer password;
    private List<String> list;

    public User(String name, Integer password, List<String> list) {
        this.name = name;
        this.password = password;
        this.list = list;
    }
    public User(){
        super();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", password=" + password +
                ", list=" + list +
                '}';
    }
}
